Request Body
serverless (default) or containermanager (default)Response
Returns a completeAIAgent object:
ACTIVE or INACTIVEserverless, container, or nullopenai)gpt-4o, gpt-4.1)agno)Example Request
Example Response
Next Steps
After creating an agent:- Update instructions using Update Agent
- Deploy the agent using Deploy Agent
- Invoke the agent using Invoke Agent
Authorizations
API Key for authentication
Body
The name of the agent to create
The organization id
The agent type to create. Manager only Enumeration of the agent types.
Attributes: Manager: marks the agent as a Managing agent. Regular: marks the agent as a regular agent.
manager, regular The agent deployment type to create. Serverless default
serverless, container The user id of the user requesting to create this agent
Target environment id to create the agent in
Is the agent use Nvidia NeMo?
Response
Successful Response
Enumeration of the agent delegation end strategies.
Attributes: ReturnToStart: when last agent is finished and about to announce "finish" it will summarize and return to the first agent. FinishWithLast: finish at the last agent.
return-to-start, finish-with-last serverless, container personal, organizational Enumeration of possible agent statuses.
Attributes: DRAFT: Agent is in a draft state. ACTIVE: Agent is active and operational. INACTIVE: Agent is inactive and not operational.
DRAFT, ACTIVE, INACTIVE Enumeration of the agent types.
Attributes: Manager: marks the agent as a Managing agent. Regular: marks the agent as a regular agent.
manager, regular Enumeration of the agent delegation types.
Attributes: Router: Marks the agent as a router agent - xpanderAI's LLM will decide which sub-agent to trigger. Sequence: Marks the agent as a sequence agent - sub-agents will delegate to other sub-agents.
router, sequence Enumeration of the agent delegation memory strategies.
Attributes: Full: The memory object will be passed completely between agents. Summarization: Between each sub-agent delegation, a summarization will occur, and a new thread will be created for each agent. OriginalInput: the sub agent will get the initial task with a fresh memory thread
full, summarization, original-input openai, nim, amazon_bedrock, huggingFace, friendlyAI, anthropic, gemini, fireworks text, markdown, json xpander, custom 
